

import * as constants from './constants';

export const beginDiagnostics = () => {
  console.log(constants.DIAGNOSTICS_MARKER_BEGIN);
};

export const endDiagnostics = () => {
  console.log(constants.DIAGNOSTICS_MARKER_END);
};

export const beginPrettifiedCode = () => {
  console.log(constants.PRETTIFIED_CODE_MARKER_BEGIN);
};

export const endPrettifiedCode = () => {
  console.log(constants.PRETTIFIED_CODE_MARKER_END);
};

export const log = (...args) => console.log('[text]', ...args);
export const out = console.log;
export const err = console.error;